"use strict";
exports.__esModule = true;
// string null undefined boolean bigint symbol number   
// any never void unknown
// enum interface type 
// in keyof typeof
var PlayStatus;
(function (PlayStatus) {
    PlayStatus[PlayStatus["open"] = 0] = "open";
    PlayStatus[PlayStatus["close"] = 1] = "close";
})(PlayStatus || (PlayStatus = {}));
// 强类型语言
// number :  byte(1) smallint(2) float(4)  int (4) long(8) double(8)
// TS -> 编译 －> JS
// 声明
var sss = null;
var ss = 100;
//  getType     
// 获取用户地址类型
// arguments
// - arg1   `number`  required   defaultValue   description "用户的ID"
// - arg2   `string`  required   defaultValue   description "家地址"
// return
// 类型 void   null | string  
getType(1, "随州");
function getDLJ(name) {
    console.log('How beautiful you are!!!');
}
var getDLJ2 = function (name) {
};
var getFFF = function (name) {
    return 20 + '';
};
var getFF2 = function () {
    return '';
};
var axx = getFFF('100');
function getType(arg1, arg2) {
    // 调 Http get
    var type;
    type = "super";
    return type;
}
function getType2(arg1) {
    var arg2 = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        arg2[_i - 1] = arguments[_i];
    }
    return;
}
var aa = getType(1, 2);
var a = 100;
/**
 * 获取名称
 * @param options
 * @returns
 */
function getName(options) {
    var cc = options.name;
    if (options.name) {
        var ss_1 = options.name;
        var ww = cc;
        var pp = cc;
        var dd = pp === null || pp === void 0 ? void 0 : pp.split('');
        var pp2 = cc;
    }
    if (a === 100) {
        return 20;
    }
    return 100;
}
var vvv = {
    from: '',
    say: function () { },
    title: '',
    content: '',
    sendTime: '',
    startAddr: '',
    endAddr: '',
    to: ''
};
var a = {
    name: 78
};
var a2 = {
    name: 78
};
var pay = {
    from: ''
};
var obj2 = {};
obj2.age = 20;
var obj = {};
obj.age = 20;
obj.age1 = 20;
obj.age2 = 20;
var a = 'from';
pay['from'];
pay.endAddr = '';
pay.say();
if (pay.get2) {
    pay.get2('');
}
